Skip to content

feat: fetch and update Google APIs list#13

Merged
jpoehnelt merged 4 commits intomainfrom
fix/update-apis-automatically
Sep 30, 2025
Merged

feat: fetch and update Google APIs list#13
jpoehnelt merged 4 commits intomainfrom
fix/update-apis-automatically

Conversation

@jpoehnelt
Copy link
Copy Markdown
Member

Replaces the manually maintained list of Google APIs with a script that fetches the latest data directly from the Google API Discovery Service.

This ensures that the API and scope information is always up-to-date, reduces manual maintenance effort, and provides more comprehensive data for each API.

  • Adds a fetch-apis script to automate data retrieval.
  • Introduces googleapis, ky, and tsx as development dependencies.
  • Updates the internal data structure for APIs to align with the discovery service output.
  • Adjusts build and test configurations to support the new workflow.

Replaces the manually maintained list of Google APIs with a script that fetches the latest data directly from the Google API Discovery Service.

This ensures that the API and scope information is always up-to-date, reduces manual maintenance effort, and provides more comprehensive data for each API.

- Adds a `fetch-apis` script to automate data retrieval.
- Introduces `googleapis`, `ky`, and `tsx` as development dependencies.
- Updates the internal data structure for APIs to align with the discovery service output.
- Adjusts build and test configurations to support the new workflow.
@jpoehnelt jpoehnelt changed the title feat(apis): fetch and update Google APIs list feat: fetch and update Google APIs list Sep 30, 2025
@jpoehnelt jpoehnelt requested a review from Copilot September 30, 2025 18:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the manually maintained Google APIs list with an automated script that fetches the latest data from the Google API Discovery Service, ensuring up-to-date API and scope information.

  • Adds a fetch-apis script that automatically retrieves API data from the Google Discovery Service
  • Updates the internal data structure by renaming documentation to documentationLink
  • Introduces GitHub Actions workflow for automated daily API updates

Reviewed Changes

Copilot reviewed 8 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/fetch-apis.ts New script to fetch and process Google APIs data from Discovery Service
package.json Adds development dependencies and fetch-apis script command
src/scopes.ts Updates API data structure to use documentationLink property
src/test/scopes.test.ts Replaces placeholder tests with actual scope functionality tests
tsup.config.mjs Adds test files to build entry points
.vscode-test.mjs Updates test file extension configuration
.github/workflows/update-apis.yml Adds automated workflow for daily API updates
.changeset/odd-insects-tap.md Documents the change for release notes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread package.json
Comment thread scripts/fetch-apis.ts
Comment thread scripts/fetch-apis.ts Outdated
@jpoehnelt jpoehnelt merged commit cf91699 into main Sep 30, 2025
5 checks passed
@jpoehnelt jpoehnelt deleted the fix/update-apis-automatically branch September 30, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants